package fun.codefarmer.pm.service.Impl;

import fun.codefarmer.pm.mapper.NationMapper;
import fun.codefarmer.pm.model.Nation;
import fun.codefarmer.pm.service.NationService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @ ClassName NationServiceImpl
 * @ Descriotion TODO
 * @ author  codeFarmer_z
 * @ 公众号：码农教程
 * @ Date 2022/6/2 17:52
 **/
@Service
public class NationServiceImpl implements NationService {
    @Resource
    private NationMapper nationMapper;
    @Override
    public List<Nation> getAllNation() {
        List<Nation> list = nationMapper.getAllNation();
        return list;
    }
}
